package cn.dujc.superkid.bean;

import java.util.List;

/**
 * @author du
 * date 2018/8/2 下午4:02
 */
public class ExercisesPostResult {
    /**
     * results : [{"num":"1","user":588,"AnswerRight":543,"CorrectRate":92.35,"UserAnswer":"A","row":"错误","analysis":4257},{"num":"2","user":588,"AnswerRight":559,"CorrectRate":95.07,"UserAnswer":"B","row":"错误","analysis":4260}]
     * page_info : {"num":2,"average":50,"total_score":0,"course_id":422,"video_id":1507,"courses_title":"摸彩球","video_title":"例2-可能性大小"}
     */

    private PageInfoEntity page_info;//页面返回信息
    private List<ResultsEntity> results;//统计的结果

    public PageInfoEntity getPage_info() { return page_info;}

    public void setPage_info(PageInfoEntity page_info) { this.page_info = page_info;}

    public List<ResultsEntity> getResults() { return results;}

    public void setResults(List<ResultsEntity> results) { this.results = results;}

    public static class PageInfoEntity {

        /**
         * num : 2
         * average : 50
         * total_score : 50
         * course_id : 389
         * video_id : 1232
         * courses_title : 平面图形
         * LxTitle : 例5-分割圆
         * first_score : 0
         */

        private int num;
        private double average;
        private int total_score;
        private int course_id;
        private int video_id;
        private String courses_title;
        private String LxTitle;
        private int first_score;

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public double getAverage() {
            return average;
        }

        public void setAverage(double average) {
            this.average = average;
        }

        public int getTotal_score() {
            return total_score;
        }

        public void setTotal_score(int total_score) {
            this.total_score = total_score;
        }

        public int getCourse_id() {
            return course_id;
        }

        public void setCourse_id(int course_id) {
            this.course_id = course_id;
        }

        public int getVideo_id() {
            return video_id;
        }

        public void setVideo_id(int video_id) {
            this.video_id = video_id;
        }

        public String getCourses_title() {
            return courses_title;
        }

        public void setCourses_title(String courses_title) {
            this.courses_title = courses_title;
        }

        public String getLxTitle() {
            return LxTitle;
        }

        public void setLxTitle(String LxTitle) {
            this.LxTitle = LxTitle;
        }

        public int getFirst_score() {
            return first_score;
        }

        public void setFirst_score(int first_score) {
            this.first_score = first_score;
        }
    }

}
